﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using xn;
using xnv;

namespace KinectCore
{
    public class Move
    {
        #region Attributes
        //Create an event for the move up gesture
        public delegate void MoveGesture();

        public event MoveGesture MoveUpEvent;

        //Create an event for the move down gesture
        public event MoveGesture MoveDownEvent;

        //Create an event for the move left gesture
        public event MoveGesture MoveLeftEvent;

        //Create an event for the move right gesture
        public event MoveGesture MoveRightEvent;
        #endregion //Attributes

        #region Constructor
        /// <summary>
        /// Constructor for the gesture detection class
        /// </summary>
        public Move()
        {
            //
        }
        #endregion //Constructor

        #region Private Gesture Detection Functions

        private void DetectKinectGesture()
        {
            //Throw the gesture detection event
            MoveUpEvent();
        }

        #endregion //Private Gesture Detection Functions
    }
}
